package com.wchat.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by yangtianrui on 17/8/14.
 */
@Data
@Component
@ConfigurationProperties(prefix = "wechat")
public class WeChatAccountConfig {

//    private String AppId;
    private String mpAppId;

    private String mpAppSecret;
    /**
     * 商户号
     */
    private String mchId;
    /**
     * 商户密钥
     */
    private String mchkey;
    /**
     * 商户证书路径
     */
    private String keyPath;
    /**
     * 接口回调地址
     */
    private String notifyUrl;

}
